package Core;

public class Save
{
	private String _name;
	private BonusList _bonuses;
	private Bonus _baseSaveBonus;
	
	public Save(String name, Character owner)
	{
		this._baseSaveBonus = new Bonus();
		this._baseSaveBonus.setSource(owner);
		
		this._bonuses = new BonusList();
		this._bonuses.add(_baseSaveBonus);
		
		this.setName(name);
	}
	
	public String getName()
	{
		return this._name;
	}
	
	public void setName(String newName)
	{
		this._name = newName;
	}
	
	public int getTotalBonus()
	{
		return this._bonuses.getTotalBonus();
	}
	
	public BonusList getBonuses()
	{
		return this._bonuses;
	}
	
	public Bonus getBaseSaveBonus()
	{
		return this._baseSaveBonus;
	}
}